home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8602 < prev    next >
Encoding:
Text File  |  1996-08-05  |  937 b   |  26 lines

  1. Newsgroups: comp.lang.c++
  2. Path: netcom.com!mictali
  3. From: mictali@netcom.com (Jere McDevitt)
  4. Subject: CTime (VC++ 4.0)
  5. Message-ID: <mictaliDMrpvr.6n0@netcom.com>
  6. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  7. X-Newsreader: TIN [version 1.2 PL1]
  8. Date: Wed, 14 Feb 1996 13:38:14 GMT
  9. Sender: mictali@netcom5.netcom.com
  10.  
  11. I have some databases that have tables using a DateTime sql type.  When I
  12. bind these fields to controls they always bind to a CTime type only.  The
  13. problem I have is that when setting the date of a CTime, it uses mktime
  14. which has a base year of 1970 so entering any birthdates prior to 1970 fail.
  15.  
  16. Anyone have any suggestions for getting around this problem, short of
  17. re-doing the libraries?
  18.  
  19. Is there another way of choosing the base time at ClassWizard create time
  20. other than going into the .H file and changing it manually?
  21.  
  22. Thanks for any help.
  23.  
  24. Jere_McDevitt@Theratx.com
  25. mictali@netcom.com
  26.